home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
RT.z
/
RT
Wrap
Text File
|
1996-03-14
|
3KB
|
67 lines
____RRRRTTTT((((3333FFFF)))) ____RRRRTTTT((((3333FFFF))))
NNNNAAAAMMMMEEEE
RT, SRT - EISPACK routine. This subroutine calls the recommended
sequence of subroutines from the eigensystem subroutine package (EISPACK)
to find the eigenvalues and eigenvectors (if desired) of a special REAL
TRIDIAGONAL matrix.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
subroutine rt(nm, n, a, w, matz, z, fv1, ierr)
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, mmmmaaaattttzzzz,,,, iiiieeeerrrrrrrr
ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn aaaa((((nnnnmmmm,,,,3333)))),,,, wwww((((nnnn)))),,,, zzzz((((nnnnmmmm nnnn)))),,,, ffffvvvv1111((((nnnn))))
subroutine srt(nm, n, a, w, matz, z, fv1, ierr)
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, mmmmaaaattttzzzz,,,, iiiieeeerrrrrrrr
rrrreeeeaaaallll aaaa((((nnnnmmmm,,,,3333)))),,,, wwww((((nnnn)))),,,, zzzz((((nnnnmmmm nnnn)))),,,, ffffvvvv1111((((nnnn))))
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On Input
NNNNMMMM must be set to the row dimension of the two-dimensional array
parameters as declared in the calling program dimension statement.
NNNN is the order of the matrix A.
AAAA contains the special real tridiagonal matrix in its first three
columns. The subdiagonal elements are stored in the last N-1 positions
of the first column, the diagonal elements in the second column, and the
superdiagonal elements in the first N-1 positions of the third column.
elements A(1,1) and A(N,3) are arbitrary.
MMMMAAAATTTTZZZZ is an integer variable set equal to zero if only eigenvalues are
desired. Otherwise it is set to any non-zero integer for both
eigenvalues and eigenvectors. On Output
WWWW contains the eigenvalues in ascending order.
ZZZZ contains the eigenvectors if MATZ is not zero.
IIIIEEEERRRRRRRR is an integer output variable set equal to an error completion code
described in section 2B of the documentation. The normal completion code
is zero.
FFFFVVVV1111 is a temporary storage array. Questions and comments should be
directed to B. S. Garbow, APPLIED MATHEMATICS DIVISION, ARGONNE NATIONAL
LABORATORY
PPPPaaaaggggeeee 1111